﻿namespace 单元测试;

public class Dome
{
    public int Sum(int a, int b)
    {
        return a + b;
    }

    public int SumAll(int[] a, int[] b)
    {
        var sum = 0;
        foreach (var i in a)
        {
            foreach (var i1 in b)
            {
                sum += Sum(i, i1);
            }
        }
        return sum;
    }
}